From: Carlos Garnacho Date: Mon, 21 Jan 2019 20:48:53 +0000 (+0100) Subject: keyboard: Remove unused code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=291aa0b053279ccb2bcf3ccef72a63775f7263a6;p=gnome-shell.git keyboard: Remove unused code This signal does not exist, the Suggestions.add() method allows to attach per-element callbacks instead. --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index b1fafb953..e8de11657 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -675,9 +675,6 @@ var Keyboard = class Keyboard { this._current_page = null; this._suggestions = new Suggestions(); - this._suggestions.connect('suggestion-clicked', (suggestions, str) => { - this._keyboardController.commitString(str); - }); this.actor.add(this._suggestions.actor, { x_align: St.Align.MIDDLE, x_fill: false });